<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>vue2.x</title>
</head>

<body>
    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>

    <div id="app">
        <span>
            <input v-model="message">
            <br />
            <span>message的值---{{ message }}</span>
            <br />
            <select v-model="selected">
                <option disabled value="">请选择</option>
                <option>A</option>
                <option>B</option>
                <option>C</option>
            </select>
            <br />
            <span>select的值---{{ selected }}</span>
        </span>
        <br />
    </div>
    <script>
        var app = new Vue({
            el: '#app',
            data: {
                message: '',
                selected: ''
            }
        })
    </script>
</body>

</html>